package hydrap2p.library.hashers.common;

import hydrap2p.modulemanager.ModuleControl;

import java.util.LinkedList;
import java.util.List;

import org.apache.thrift.TException;

public class HashControl implements ModuleControl.Iface {

	@Override
	public void stop() throws TException {
		HashMain.shutdown();
	}

	@Override
	public void ping() throws TException {
	}

	@Override
	public List<String> supportedInterfaces() throws TException {
		List<String> ret=new LinkedList<String>();
		ret.add("Service");
		ret.add("ModuleControl");
		return ret;
	}

}
